package com.xyht.sca_s.student_manage_system.modules.student_difficulty.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.student_difficulty.entity.SmsStudentDifficultyApply;
import com.xyht.sca_s.student_manage_system.modules.student_difficulty.entity.req.SmsStudentDifficultyApplyReq;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 家庭经济困难认定申请表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-03-01
 */
public interface SmsStudentDifficultyApplyService extends IService<SmsStudentDifficultyApply> {
    ResponseResult submitDifficultyApply(SmsStudentDifficultyApplyReq smsStudentDifficultyApplyReq, String user_id);
    ResponseResult submitDifficultyRejectApply(SmsStudentDifficultyApplyReq smsStudentDifficultyApplyReq,String user_id);
    ResponseResult rejectDifficultyApply(SmsStudentDifficultyApplyReq smsStudentDifficultyApplyReq);

    ResponseResult getOwnDifficultyTaskList(Integer pageNum,Integer pageSize,String user_id,String search_str);
    ResponseResult getSubmitDifficultyApply(String task_id,String user_id);
    ResponseResult getDifficultyApplyHistory(Integer pageNum,Integer pageSize,String user_id,String search_str);
    ResponseResult getDifficultyApplyDetail(String apply_id);

    ResponseResult exportDifficultyApply(String apply_id, HttpServletResponse response);
}
